package com.examination.system.administrator.dao;

import com.examination.system.administration.Employee;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author 寇淇芮
 * @Date 2019/9/17 9:55
 */
@Mapper
@ResponseBody
public interface EmployeeMapper {

    Integer upateEmployeeByDepartmentName(@Param("department") String departmentName, @Param("departmentName") String newDepartmentName);


    Integer addEmployee(Employee employee);

    Page<Employee> findAll();


    int upateEmployee(Employee employee);
}
